<template>
  <div class="card" id="appId">
    <h1>A应用 /testUrl</h1>
    <div>接收到的query参数：{{ query }}</div>
    <!-- 
      期望iframeUrl的值是https://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&rsv_idx=1&tn=baidu&wd=%E6%B5%8B%E8%AF%95query%E4%BC%A0%E5%8F%82
      期望timeStamp是时间戳，但现在拿到的是数组
    -->
    <iframe :src="query.iframeUrl" width="1000px" height="400px"></iframe>
  </div>
</template>

<script setup>
import { useRoute } from "vue-router";

const query = useRoute().query;

</script>

<style scoped>
.read-the-docs {
  color: #888;
}
button {
  color: blue;
}
</style>
